package com.sc.nft.entity.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;
@Data
public class GiveBatchDTO {
    @ApiModelProperty("接收人地址")
    @NotBlank(message = "赠送人地址不能为空")
    private String fromAddress;

    @Size(min = 1, max =20 ,message = "最小赠送数量为1，最大赠送数量为20")
    @ApiModelProperty("转增id")
    private List<Long> list;

    @ApiModelProperty("验证码id")
    @NotNull(message = "验证码Id不能为空")
    private Long smsId;

    @ApiModelProperty("验证码")
    @NotBlank(message = "验证码不能为为空")
    private String codes;
}
